package com.agentlab.imitation.bean.admin;

import java.sql.Timestamp;

/**
 * Admin entity. @author MyEclipse Persistence Tools
 */

public class Admin implements java.io.Serializable {

	// Fields

	private Integer userid;
	private String username;
	private String password;
	private Short roleid;
	private String encrypt;
	private String lastloginip;
	private Timestamp lastlogintime;
	private String email;
	private String realname;

	// Constructors

	/** default constructor */
	public Admin() {
	}

	/** minimal constructor */
	public Admin(String realname) {
		this.realname = realname;
	}

	/** full constructor */
	public Admin(String username, String password, Short roleid,
			String encrypt, String lastloginip, Timestamp lastlogintime,
			String email, String realname) {
		this.username = username;
		this.password = password;
		this.roleid = roleid;
		this.encrypt = encrypt;
		this.lastloginip = lastloginip;
		this.lastlogintime = lastlogintime;
		this.email = email;
		this.realname = realname;
	}

	// Property accessors

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Short getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Short roleid) {
		this.roleid = roleid;
	}

	public String getEncrypt() {
		return this.encrypt;
	}

	public void setEncrypt(String encrypt) {
		this.encrypt = encrypt;
	}

	public String getLastloginip() {
		return this.lastloginip;
	}

	public void setLastloginip(String lastloginip) {
		this.lastloginip = lastloginip;
	}

	public Timestamp getLastlogintime() {
		return this.lastlogintime;
	}

	public void setLastlogintime(Timestamp lastlogintime) {
		this.lastlogintime = lastlogintime;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getRealname() {
		return this.realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

}